package com.yunpuvip.sachet.rest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author Lincoln
 */
@EnableScheduling
@EnableCaching
@SpringBootApplication(scanBasePackages = {"com.yunpuvip.sachet"})
@EnableTransactionManagement
public class GunsRestApplication {
    private final static Logger logger = LoggerFactory.getLogger(GunsRestApplication.class);
    public static void main(String[] args) {
    	SpringApplication application = new SpringApplication(GunsRestApplication.class);
        logger.info("sachet RestApplication run successfully!");
        application.run(args);
        System.out.println("sachet RestApplication run successfully!");
    }
}
